import Aritical from './components/Artical'
import style from './Column.module.css'

interface column{
    display:{
        title:string,
        subtitle?:string,
        content?:string
    }
}

export default function Column(props:column){
    const {display}=props;

    return (
        <div className={style.columnBox}>
            <Aritical title={display.title} subTitle={display.subtitle}>
                {display.content}
            </Aritical>
        </div>
    )
}